package cn.java78.entity;

public class Chassis {
    private String name;
    private double money;
    private Battery battery;
    private  Board board;

    @Override
    public String toString() {
        return "Chassis{" +
                "name='" + name + '\'' +
                ", money=" + money +
                ", battery=" + battery +
                ", board=" + board +
                '}';
    }

    public Chassis() {
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public void setBattery(Battery battery) {
        this.battery = battery;
    }

    public void setBoard(Board board) {
        this.board = board;
    }
}
